package com.hzit.sk.mapper;

import com.hzit.sk.model.SkillGoods;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SkillGoodsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SkillGoods record);

    int insertSelective(SkillGoods record);

    SkillGoods selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SkillGoods record);

    int updateByPrimaryKey(SkillGoods record);

    /**
     * 查询秒杀的商品
     * @return
     */
    List<SkillGoods> querySkillGoods();
}